package com.blrs.domain;

import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 项目进度对象 project_schedule
 * 
 * @author wangchao
 * @date 2023-12-01
 */
public class ProjectSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 阶段序号 */
    private int sortIndex;

    /** id */
    private String id;

    /** 阶段id */
    @Excel(name = "阶段id")
    private String stageId;

    /** 阶段名称 */
    private String stageName;

    /** 阶段说明 */
    @Excel(name = "阶段说明")
    private String stageDesc;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private String stageStatus;

    /** 创建人id */
    @Excel(name = "创建人id")
    private String creationId;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String creationName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date creationTime;


    public void setSortIndex(int sortIndex)
    {
        this.sortIndex = sortIndex;
    }

    public int getSortIndex()
    {
        return sortIndex;
    }

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStageId(String stageId) 
    {
        this.stageId = stageId;
    }

    public String getStageId() 
    {
        return stageId;
    }
    public void setStageName(String stageName)
    {
        this.stageName = stageName;
    }

    public String getStageName()
    {
        return stageName;
    }
    public void setStageDesc(String stageDesc) 
    {
        this.stageDesc = stageDesc;
    }

    public String getStageDesc() 
    {
        return stageDesc;
    }
    public void setStageStatus(String stageStatus) 
    {
        this.stageStatus = stageStatus;
    }

    public String getStageStatus() 
    {
        return stageStatus;
    }
    public void setCreationId(String creationId)
    {
        this.creationId = creationId;
    }

    public String getCreationId()
    {
        return creationId;
    }
    public void setCreationName(String creationName) 
    {
        this.creationName = creationName;
    }

    public String getCreationName() 
    {
        return creationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stageId", getStageId())
            .append("stageName", getStageName())
            .append("stageDesc", getStageDesc())
            .append("stageStatus", getStageStatus())
            .append("creationId", getCreationId())
            .append("creationName", getCreationName())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
